<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../assets/js/flex.js"></script>
    <script src="vue.js"></script>
    <link rel="stylesheet" href="../html/main.css">
    <link rel="stylesheet" href="../assets/css/popout.css">
</head>
<body>
    <div class="popout-content" id="app">
        <transition name="fade">
            <div class="popout" v-if="show">
                <div class="content-mnemonic">
                    <div class="mnemonic-iconfont"><img src="../../assets/img/photo.png" alt=""></div>
                    <div class="mnemonic-title">请勿截图</div>
                </div>
                <div class="popout-hint">如果有人获取你的助记词将直接获取你的资产！请抄写下助记词并存放在安全的地方。</div>
                <div class="content-know" v-on:click="show = !show">知道了</div>
            </div>
        </transition>
        <transition name="bg">
            <div class="bg" v-if="show"></div>
        </transition>
    </div>
</body>
<script>
    new Vue({
        el:'#app',
        data: {
            show:false
        },
        mounted: function () {
            this.show = true;
        }
    })
</script>
<style>
    .fade-enter-active, .fade-leave-active {
        transition: all 1s;
    }
    .fade-enter, .fade-leave-to{
        transform: translateY(10rem);
    }
    .bg-enter-active,.bg-leave-active {
        transition: all 1s;
    }
    .bg-enter, .bg-leave-to{
        opacity: 0;
    }
</style>
</html>